from fastapi import APIRouter

from app.auth.routes import auth_router
from app.puzzle.puzzle_routes import puzzle_router
from app.user.routes import role_router, user_router

# 创建核心路由器
core_router = APIRouter()

# 用户路由
core_router.include_router(user_router)
core_router.include_router(role_router)

# 认证路由
core_router.include_router(auth_router)

# 谜题路由
core_router.include_router(puzzle_router)
